import Layout from '@/layout'
export default [
  {
    path: '/recruitment',
    component: Layout,
    redirect: '/recruitment/index',
    name: 'recruitment',
    meta: { title: '招生简章管理', icon: 'star', roles: ['院校'] },
    children: [
      {
        path: 'index',
        name: 'recruitment-index',
        component: () => import('@/views/recruitment/index'),
        meta: { title: '招生简章', icon: 'star' }
      },
      {
        path: 'create',
        name: 'recruitment-create',
        component: () => import('@/views/recruitment/create'),
        meta: { title: '添加招生简章', icon: 'edit' }
      },
      {
        path: ':id',
        name: 'recruitment-edit',
        hidden: true,
        component: () => import('@/views/recruitment/edit'),
        meta: { title: '编辑资讯', icon: 'edit', activeMenu: '/recruitment/index' }
      }
    ]
  }
]
